package org.ax.acrSoft.service;




import com.arcsoft.face.FaceInfo;
import com.arcsoft.face.toolkit.ImageInfo;
import org.ax.acrSoft.entity.ProcessInfo;
import org.ax.acrSoft.entity.UserCompareInfo;
import org.ax.acrSoft.util.UserRamCache;

import java.util.List;


public interface FaceEngineService {

    List<FaceInfo> detectFaces(ImageInfo imageInfo);

    Float compareFace(ImageInfo imageInfo1, ImageInfo imageInfo2) ;

    byte[] extractFaceFeature(ImageInfo imageInfo, FaceInfo faceInfo);

    List<UserCompareInfo> faceRecognition(byte[] faceFeature, List<UserRamCache.UserInfo> userInfoList, float passRate) ;

    List<ProcessInfo> process(ImageInfo imageInfo, List<FaceInfo> faceInfoList);





}
